package com.zmn.mcc.common.constant;

/**
 * @author heguanghua
 * @since 2020/05/08 15:26
 */
public class StaffConsts {

    /**
     * 员工密码加密盐值长度
     */
    public static final int SALT_LENGTH = 10;

    /**
     * 公司员工类型：普通员工 全职
     */
    public final static int STAFF_ROLE_ORDINARY_TYPE = 2;
    public final static String STAFF_ROLE_ORDINARY_TYPE_STR = "全职";
    /**
     * 公司员工类型：师傅 工程师
     */
    public final static int STAFF_ROLE_MASTER_TYPE = 3;
    public final static String STAFF_ROLE_MASTER_TYPE_STR = "工程师";
    /**
     * 公司员工类型：兼职
     */
    public final static int STAFF_ROLE_PART_TIME = 4;
    public final static String STAFF_ROLE_PART_TIME_STR = "兼职";
    /**
     * 公司员工类型：实习
     */
    public final static int STAFF_ROLE_INTERNSHIP = 5;
    public final static String STAFF_ROLE_INTERNSHIP_STR = "实习";
    /**
     * 公司员工类型：劳务派遣
     */
    public final static int STAFF_ROLE_LABOR_DISPATCH = 6;
    public final static String STAFF_ROLE_LABOR_DISPATCH_STR = "劳务派遣";
    /**
     * 公司员工类型：退休返聘
     */
    public final static int STAFF_ROLE_POST_RETIREMENT = 7;
    public final static String STAFF_ROLE_POST_RETIREMENT_STR = "退休返聘";
    /**
     * 公司员工类型：劳务外包
     */
    public final static int STAFF_ROLE_OUTSOURCING = 8;
    public final static String STAFF_ROLE_OUTSOURCING_STR = "劳务外包";

    /**
     * 员工状态1.试用 2.正式 3.离职
     */
    public final static int STAFF_STATUS_PROBATION = 1;
    public final static String STAFF_STATUS_PROBATION_STR = "试用";
    public final static int STAFF_STATUS_NORMAL = 2;
    public final static String STAFF_STATUS_NORMAL_STR = "正式";
    public final static int STAFF_STATUS_LEAVE = 3;
    public final static String STAFF_STATUS_LEAVE_STR = "离职";
    public final static int STAFF_STATUS_TO_HIRED = 4;
    public final static String STAFF_STATUS_TO_HIRED_STR = "待入职";
    public final static int STAFF_STATUS_CALL_OUT = 5;
    public final static String STAFF_STATUS_CALL_OUT_STR = "调出";
    public final static int STAFF_STATUS_IN = 6;
    public final static String STAFF_STATUS_IN_STR = "待调入";
    public final static int STAFF_STATUS_RETIRE = 7;
    public final static String STAFF_STATUS_RETIRE_STR = "退休";
    public final static int STAFF_STATUS_NO_NORMAL = 8;
    public final static String STAFF_STATUS_NO_NORMAL_STR = "非正式";

    /**
     * 职级1.专员 2.主管 3.经理 4.总监
     */
    public final static int STAFF_LEVEL_COMMISSION = 1;
    public final static String STAFF_LEVEL_COMMISSION_STR = "专员";
    public final static int STAFF_LEVEL_DIRECTOR = 2;
    public final static String STAFF_LEVEL_DIRECTOR_STR = "主管";
    public final static int STAFF_LEVEL_MANAGER = 3;
    public final static String STAFF_LEVEL_MANAGER_STR = "经理";
    public final static int STAFF_LEVEL_MIDDLE_MANAGER = 4;
    public final static String STAFF_LEVEL_MIDDLE_MANAGER_STR = "总监";
    public final static int STAFF_LEVEL_GRNERAL_MANAGER = 5;
    public final static String STAFF_LEVEL_GRNERAL_MANAGER_STR = "总经理";

    /**
     * 试用期：1.一个月，2.2个月，3.3个月，4.4个月，5.5个月，6.6个月，7.其它
     */
    public final static int PROBATION_PERIOD_TYPE_ONE_MONTH = 1;
    public final static String PROBATION_PERIOD_TYPE_ONE_MONTH_STR = "1个月";
    public final static int PROBATION_PERIOD_TYPE_TWO_MONTH = 2;
    public final static String PROBATION_PERIOD_TYPE_TWO_MONTH_STR = "2个月";
    public final static int PROBATION_PERIOD_TYPE_THREE_MONTH = 3;
    public final static String PROBATION_PERIOD_TYPE_THREE_MONTH_STR = "3个月";
    public final static int PROBATION_PERIOD_TYPE_FOUR_MONTH = 4;
    public final static String PROBATION_PERIOD_TYPE_FOUR_MONTH_STR = "4个月";
    public final static int PROBATION_PERIOD_TYPE_FIVE_MONTH = 5;
    public final static String PROBATION_PERIOD_TYPE_FIVE_MONTH_STR = "5个月";
    public final static int PROBATION_PERIOD_TYPE_SIX_MONTH = 6;
    public final static String PROBATION_PERIOD_TYPE_SIX_MONTH_STR = "6个月";
    public final static int PROBATION_PERIOD_TYPE_OTHER = 7;
    public final static String PROBATION_PERIOD_TYPE_OTHER_STR = "其它";

    /**
     * 性别：1男 2女
     */
    public final static int SEX_TYPE_MALE = 1;
    public final static String SEX_TYPE_MALE_STR = "男";
    public final static int SEX_TYPE_FEMALE = 2;
    public final static String SEX_TYPE_FEMALE_STR = "女";
    public final static int SEX_TYPE_SECRET = 3;
    public final static String SEX_TYPE_SECRET_STR = "保密";

    /**
     * 职级1.专员 2.主管 3.经理 4.总监
     */
    public final static String GRADES_TYPE_M = "M";
    public final static String GRADES_TYPE_M_STR = "管理(M)";
    public final static String GRADES_TYPE_S = "S";
    public final static String GRADES_TYPE_S_STR = "营销(S)";
    public final static String GRADES_TYPE_F = "F";
    public final static String GRADES_TYPE_F_STR = "运营(F)";
    public final static String GRADES_TYPE_T = "T";
    public final static String GRADES_TYPE_T_STR = "技术(T)";
    public final static String GRADES_TYPE_P = "P";
    public final static String GRADES_TYPE_P_STR = "职能(P)";


    /**
     * 类型：1服务商，2厂家，3供应商，4大客户，5平台，6渠道'
     */
    public static final int IDENTITY_TYPE_SERVICE = 1;

    /**
     * 类型：1服务商，2厂家，3供应商，4大客户，5平台，6渠道'
     */
    public static final int IDENTITY_TYPE_FACTORY = 2;

    /**
     * 类型：1服务商，2厂家，3供应商，4大客户，5平台，6渠道'
     */
    public static final int IDENTITY_TYPE_PROVIDER = 3;

    /**
     * 类型：1服务商，2厂家，3供应商，4大客户，5平台，6渠道'
     */
    public static final int IDENTITY_TYPE_CUSTOMER = 4;

    /**
     * 类型：1服务商，2厂家，3供应商，4大客户，5平台，6渠道'
     */
    public static final int IDENTITY_TYPE_PLAT = 5;

    /**
     * 类型：1服务商，2厂家，3供应商，4大客户，5平台，6渠道'
     */
    public static final int IDENTITY_TYPE_CHANNEL = 6;

    public final static String SYNC_BERSENGDATA_TAG = "sync_beisengdata_tag";

    /**
     * 员工修改消息tag
     */
    public final static String SYNC_EDIT_STAFF_TAG = "sync_edit_staff_tag";
    /**
     * 部门修改消息tag
     */
    public final static String SYNC_EDIT_DEPT_TAG = "sync_edit_dept_tag";


}
